package com.travel.modules.asset.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.modules.asset.entity.Advertise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.travel.modules.asset.entity.Advertise
 */
@Mapper
public interface AdvertiseDao extends BaseMapper<Advertise> {
    List<Advertise> getAds();

    List<Advertise> getAllAdvertise(Map<String, Object> params);

    Advertise getOneAdvertise(@Param("adId") String adId);

    List<Advertise> ftQueryAds(String[] keywords);
}